module.exports = {
    pages: {
        index: {
            entry: './src/main.js',
        },
    },
    lintOnSave:false, //关闭语法检查

    devServer: {
        port: 7000,
        proxy: {
            '/api': {
                target: 'http://localhost:8080',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': '/'
                },

            }
        }
    }

}
